# for Loops

# Looping through a list
fruits = ["apple", "banana", "orange", "grape"]
for fruit in fruits:
    print(fruit)

# Looping through a string
for letter in "Hello, World!":
    print(letter)


# Looping through a range of numbers
success = True
for i in range(5):
    # print("Attention please!", i + 1, (i + 1) * ".")
    print("Attention please!")
    if success:
        print("Congratulations!")
        break
else:
    print("Sorry, you failed.")
